Skip to content

fix: align shift-click range selection in admin lists and files table - #4236

Merged
JammingBen merged 1 commit into
mainfrom
fix/shift-click-range-selection
Nov 3, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/shift-click-range-selection

Conversation

@JammingBen

@JammingBen JammingBen commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Description

Shift-click range selection now works the same way in the admin settings lists (users, groups, spaces) and in the files table:

  • The range starts from a fixed anchor, which is kept while it stays selected. A plain click, Ctrl-click or right-click sets a new start.
  • A shift-click replaces the current selection with the range. Before, admin settings added the range to the existing selection.
  • After a shift-click, Shift+Arrow shrinks or extends the range from the anchor, so no gaps appear.

The selection state is still split across several places in both apps. Unifying it is tracked in #4241.

Disclaimer: this is a can of worms. The change fixes the linked issue, but there are still more issues with range selections. Some of them will get fixed with #4241, for the rest we might need another follow-up.

Related Issue

@JammingBen
JammingBen force-pushed the fix/shift-click-range-selection branch from 1c6c17e to d8d07aa Compare November 3, 2026 14:59
@JammingBen
JammingBen marked this pull request as ready for review November 3, 2026 15:17
@JammingBen
JammingBen merged commit 34e7b00 into main Nov 3, 2026
28 checks passed
@JammingBen
JammingBen deleted the fix/shift-click-range-selection branch November 3, 2026 15:55
@openclouders openclouders mentioned this pull request Nov 3, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shift-click range selection differs between admin settings lists and the files table

2 participants